package com.kfc.platform.transaction.service;

import java.math.BigDecimal;
import java.util.List;

import com.kfc.platform.transaction.domain.TradeList;

public interface TransactionService {
	
	String createTransaction(TradeList tradeList);//插入委托表
	void getTransaction();
	TradeList findTransactionbyId(int id);
	TradeList insertgetId(TradeList tradeList);//插入数据库同时得到id
	void updatebyId(int id,BigDecimal num);
	void update(TradeList tradeList);
	int savegetid(TradeList tradeList);
	List<TradeList> getbytype(String type);
}
